package com.jeeplus.modules.sys.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.core.persistence.DataEntity;

import java.util.Date;

/**
 * @author xujin
 * @projectName 违约金方案
 * @description: TODO
 * @date 2019/10/816:51
 */
public class LateFeePlan extends DataEntity<LateFeePlan> {

    private static final long serialVersionUID = 1L;
    private String classid; //档案类别
    private String selected; //选择
    private String status; //启用
    private String scostitemid; //源款项
    private String scostitemName; //源款项名
    private String inCorpus; //本金
    private String inInterest; //利息
    private String inBalance; //遇负是否计算
    private String costitemid; //滞纳金款项
    private Double dayRate; //日罚利率
    private Date beginDate; //开始年月
    private Date endDate; //开始年月
    public LateFeePlan(){
        super();
    }
    public LateFeePlan(String id){
        super(id);
    }

    public String getClassid() {
        return classid;
    }

    public void setClassid(String classid) {
        this.classid = classid;
    }

    public String getSelected() {
        return selected;
    }

    public void setSelected(String selected) {
        this.selected = selected;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getScostitemid() {
        return scostitemid;
    }

    public void setScostitemid(String scostitemid) {
        this.scostitemid = scostitemid;
    }

    public String getScostitemName() {
        return scostitemName;
    }

    public void setScostitemName(String scostitemName) {
        this.scostitemName = scostitemName;
    }

    public String getInCorpus() {
        return inCorpus;
    }

    public void setInCorpus(String inCorpus) {
        this.inCorpus = inCorpus;
    }

    public String getInInterest() {
        return inInterest;
    }

    public void setInInterest(String inInterest) {
        this.inInterest = inInterest;
    }

    public String getInBalance() {
        return inBalance;
    }

    public void setInBalance(String inBalance) {
        this.inBalance = inBalance;
    }

    public String getCostitemid() {
        return costitemid;
    }

    public void setCostitemid(String costitemid) {
        this.costitemid = costitemid;
    }

    public Double getDayRate() {
        return dayRate;
    }

    public void setDayRate(Double dayRate) {
        this.dayRate = dayRate;
    }

    @JsonFormat(pattern = "yyyy-MM-dd")
    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    @JsonFormat(pattern = "yyyy-MM-dd")
    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}